package com.tpf.spring.service;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * <p> </p >
 *
 * @author : tianpf
 * @version :  AnimalMainTest.java,v 1.0, 2021/3/4-10:38 tianpengfei Exp $
 */
public class MainTest {

	public static void main(String[] args) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(AnimalConfig.class);

		HelloService bean = context.getBean(HelloService.class);

		System.out.println(bean);
	}
}
